 <div class="container top">
      
      <ul class="breadcrumb">
        <li>
          <a href="<?php echo site_url("admin"); ?>">
            <?php echo ucfirst($this->uri->segment(1));?>
          </a> 
          <span class="divider">/</span>
        </li>
        <li>
          <a href="<?php echo site_url("admin").'/'.$this->uri->segment(2); ?>">
            <?php echo ucfirst($this->uri->segment(2));?>
          </a> 
          <span class="divider">/</span>
        </li>
        <li class="active">
          <a href="#">New</a>
        </li>
      </ul>
      
      <div class="page-header">
        <h2>
          Adding <?php echo ucfirst($this->uri->segment(2));?>
        </h2>
      </div>
 
       <?php
      //form data
      $attributes = array('class' => 'form-horizontal', 'id' => '');
     
      //form validation
      echo validation_errors();
      
   
      ?>

      
    <div id="stdGenInfoBlock">
    
     <form id="frm_edit_stdGeneralInfo">
	    <table width='940' class="stdregistration stdregistration-striped stdregistration-bordered stdregistration-condensed">
	      <tr>
		<td class='table_bar' colspan="10" >Personal Information </td>
		
	      </tr>
	      <tr>
		<td class='table_student_td_font'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td colspan="5"><input type="text" name="student_name" value="<?php echo $student[0]['student_name']; ?>" size="76"></td>
		<td colspan="4" rowspan="6">&nbsp;</td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Roll No.</td>
		<td colspan="3"><input type="text" name="student_id" value="<?php echo $student[0]['student_id']; ?>" size="22" readonly="readonly" /></td>
		<td><span class="table_student_td_font">&nbsp;&nbsp;&nbsp;Sessions&nbsp;&nbsp;&nbsp;</span></td>
		<td><input type="text" name="academic_session" value="<?php echo $student[0]['academic_session']; ?>" size="15" readonly="readonly" /></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Mother Tongue</td>
		<td colspan="3"><input type="text" name="mother_lang" value="<?php echo $student[0]['mother_lang']; ?>" size="22"></td>
		<td ><span class="table_student_td_font">Birth Date</span></td>
		<td><input type="text" name="dob" value="<?php echo $student[0]['dob']; ?>" size="15" /></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Father's Name </td>
		<td colspan="5"><input type="text" name="fathername" value="<?php echo $student[0]['fathername']; ?>" size="50"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Mother's Name</td>
		<td colspan="5"><input type="text" name="mothername" value="<?php echo $student[0]['mothername']; ?>" size="50"></td>
	      </tr>
	      <tr>
		<td class="table_student_td_font">Admission Date </td>
		<td colspan="5"><input type="text" name="dateofadmission"  value="<?php echo $student[0]['dateofadmission']; ?>" size="29"></td>
	      </tr>
	      
	      <tr>
		<td colspan='10' class='table_bar'>Address</td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Present</td>
		<td colspan='9'><input type="text" name="presentaddress" value="<?php echo $student[0]['presentaddress']; ?>" size="75"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Permanent</td>
		<td colspan='9'>&nbsp;</td>
	      </tr>
	      
	      
	      <tr>
		<td class='table_student_td_font'>Tel. Res. </td>
		<td colspan='3' ><input type="text" name="phone_reg" value="<?php echo $student[0]['phone_reg']; ?>" size="22"></td>
		<td class='table_student_td_font'>Off.</td>
		<td colspan="5" ><input type="text" name="phone_off" value="<?php echo $student[0]['phone_off']; ?>" size="14"></td>
	      </tr>
	      
	      
	      <tr>
		<td colspan="10" class='table_bar'>Education</td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>S.S.C. Board </td>
		<td><input type="text" name="ssc_board" value="<?php echo $edu[0]['ssc_board']; ?>" size="15"></td>
		<td class='table_student_td_font'>Year</td>
		<td><input type="text" name="ssc_year" value="<?php echo $edu[0]['ssc_year']; ?>" size="8" ></td>
		<td class='table_student_td_font'>Group</td>
		<td><input type="text" name="ssc_group" value="<?php echo $edu[0]['ssc_group']; ?>" size="10"></td>
		<td class='table_student_td_font'>Reg. No. </td>
		<td ><input type="text" name="ssc_reg_no" value="<?php echo $edu[0]['ssc_reg_no']; ?>" size="5"></td>
		<td class='table_student_td_font'>Year</td>
		<td><input type="text" name="ssc_reg_year" value="<?php echo $edu[0]['ssc_reg_year']; ?>" size="5"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Centre</td>
		<td colspan='3'><input type="text" name="ssc_centre" value="<?php echo $edu[0]['ssc_centre']; ?>" size="30"></td>
		<td class='table_student_td_font'>Roll</td>
		<td><input type="text" name="ssc_roll" value="<?php echo $edu[0]['ssc_roll']; ?>"  size="10"></td>
		<td class='table_student_td_font'>GPA</td>
		<td><input type="text" name="ssc_gpa" value="<?php echo $edu[0]['ssc_gpa']; ?>"  size="5"></td>
		<td class='table_student_td_font'>Opt.</td>
		<td><input type="text" name="ssc_opt" value="<?php echo $edu[0]['ssc_opt']; ?>"  size="5"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>School</td>
		<td colspan='9'><input type="text" name="ssc_school" value="<?php echo $edu[0]['ssc_school']; ?>"  size="75"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>H.S.C. Board </td>
		<td><input type="text" name="hsc_board"  value="<?php echo $edu[0]['hsc_board']; ?>" size="15"></td>
		<td class='table_student_td_font'>Year</td>
		<td><input type="text" name="hsc_year" value="<?php echo $edu[0]['hsc_year']; ?>" size="8"></td>
		<td class='table_student_td_font'>Group</td>
		<td><input type="text" name="hsc_group" value="<?php echo $edu[0]['hsc_group']; ?>" size="10"></td>
		<td class='table_student_td_font'>Reg. No. </td>
		<td><input type="text" name="hsc_reg_no" value="<?php echo $edu[0]['hsc_reg_no']; ?>" size="5"></td>
		<td class='table_student_td_font'>Year</td>
		<td><input type="text" name="hsc_reg_year" value="<?php echo $edu[0]['hsc_reg_year']; ?>" size="5"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Centre</td>
		<td colspan="3"><input type="text" name="hsc_centre" value="<?php echo $edu[0]['hsc_centre']; ?>" size="40"></td>
		<td class='table_student_td_font'>Roll</td>
		<td><input type="text" name="hsc_roll" value="<?php echo $edu[0]['hsc_roll']; ?>"  size="10"></td>
		<td class='table_student_td_font'>GPA</td>
		<td><input type="text" name="hsc_gpa" value="<?php echo $edu[0]['hsc_gpa']; ?>"  size="5"></td>
		<td class='table_student_td_font'>Opt.</td>
		<td><input type="text" name="hsc_opt" value="<?php echo $edu[0]['hsc_opt']; ?>"  size="5"></td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>H.S.C. Exam. Medium</td>
		<td >&nbsp;</td>
		<td colspan="2" ><input type="text" name="hsc_medium" value="<?php echo $edu[0]['hsc_medium']; ?>" size="20"></td>
		<td >&nbsp;</td>
		<td >&nbsp;</td>
		<td colspan='2' >&nbsp;</td>
		<td colspan='2'>&nbsp;</td>
	      </tr>
	      <tr>
		<td class='table_student_td_font'>Transfer No</td>
		<td><input type="text" name="transfer_no" value="<?php echo $student[0]['transfer_no']; ?>"  size="15"></td>
		<td class='table_student_td_font'>Date</td>
		<td><input type="text" name="trans_date" value="<?php echo $student[0]['trans_date']; ?>" size="10"></td>
		<td class='table_student_td_font'>Dropped</td>
		<td ><input type="text" name="dropped" value="<?php echo $student[0]['dropped']; ?>"  size="10"></td>
		<td colspan='2' class='table_student_td_font'>Date</td>
		<td colspan='2'><input type="text" name="drop_date" value="<?php echo $student[0]['drop_date']; ?>"  size="12"></td>
	      </tr>
	      <tr>
		<td colspan="2" class='table_student_td_font'>Co-curricular Activities</td>
		<td colspan="8"><input type="text" name="co_cur_activities" value="<?php echo $student[0]['co_cur_activities']; ?>" size="90" /></td>
	      </tr>
	      <tr>
		<td colspan="2" class='table_student_td_font'>Remarks</td>
		<td colspan="8"><input type="text" name="remarks" value="<?php echo $student[0]['remarks']; ?>" size="90" /></td>
	      </tr>
	    </table>
          
          <div class="form-actions">
            <input type="submit" class="btn btn-primary" value="Save changes">
          </div>
      </form>
  </div>
	
        
 
     
     <div onMouseUp="return false" class="translucent" onMouseMove="return false" onMouseDown="return false"
                                                                id="blockDim" onDblClick="return false" style="DISPLAY: none; Z-INDEX: 50000; LEFT: 0px; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: #FFFFFF;border: 1px solid black;text-align: center;"
                                                                onclick="return false" >
           <img src="<?php echo base_url(); ?>assets/img/ajax-loader5.gif" id="imagePosition">
           <div id="loading" style="font-size: 20px;font-weight: bold"></div>                                                             
      </div>  
      
      
    </div>
     